/**
 * 左边导向菜单
 */

.cloumbox {
	width: 100%;
	height: auto;
	background: #fdfdfd;
	border: 1px solid #ddd;
	padding: 0;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	user-select: none;
}

.menu-title {
	position: relative;
	padding: 10px 22px;
	height: 30px;
	clear: both;
	border-bottom: 1px solid #eef1f5;
}

.menu-title span {
	font-size: 1.3rem;
}
.menu-title::before {
	content: '';
	position: absolute;
	width: 4px;
	height: 13px;
	background: #00aeff;
	top: 18px;
	left: 9px;
}




.navbox{}
.navgroup{ }
.navtitle{    font-size: 0.75rem;
	color: #999;
	margin: 10px; }


.navgroup  nav {
	width: 29%;
	float: left;
	padding: 5px 0;
	margin: 0 0 10px 10px;
	border: 1px solid #dddddd;
	text-align: center;
	font-size: 12px;
	cursor: pointer;
	-webkit-transition: All 0.3s ease-in-out;
	-moz-transition: All 0.3s ease-in-out;
	-o-transition: All 0.3s ease-in-out;
	transition: All 0.3s ease-in-out;
	background: #f4f4f4;
}

.navgroup nav p {
	color: #424242;
	padding: 0 0px 5px 0;
	margin: 0;
}

.navgroup nav p.item-icon .mdi {
	font-size: 1.25rem;
	color: #6b6b6b;
}
.clear{ clear: both; height: 0; overflow: hidden;margin: 0;padding: 0}
.navgroup nav:hover {
	background: #fff;
	border: 1px solid #00aeff;
	color: #00aeff;
	-webkit-transition: All 0.4s;
	-moz-transition: All 0.4s;
	-o-transition: All 0.4s;
	transition: All 0.4s;
}
.action {
	margin: 15px;
	text-align: right;
	position: relative;
}



/**编辑器**/
.phonebox{background: none;	border: none;}


/*中间 结果页*/

.diy-phone {
	width: 360px;
	border-radius: 3px;
	box-shadow: 0 3px 10px #dcdcdc;
	border: 1px solid #ddd;
	margin: 0 auto;
}

.diy-phone .phone-top {
	width: 100%;
	height: 66px;
	text-align: center;
}

.diy-phone .phone-top h4 {
	margin: 0;
	font-size: 1rem;
	font-weight: normal;
	white-space: nowrap;
	line-height: 88px;
}
.phonebox img, .editorbo img, .edui-default img , .editorbox img{max-width: 100%;
	max-height: 100%;}


.phone-main {
	height: 540px;
	border-top: 0;
	overflow-y: auto;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	position: relative;
}

.diy-phone .optional {
	position: relative;
}

.diy-phone .optional:before {
	content: "";
}

.diy-phone .optional.__z10:before {
	z-index: 10;
}

.diy-phone .optional.__no-move:before {
	cursor: pointer !important;
}

.diy-phone .optional.selected:before,  .diy-phone .optional:hover:before {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border: 2px dashed #fa6869;
	cursor: move;
}

 .diy-phone .phone-main .drag .btn-edit-del {
	height: 16px;
	position: absolute;
	right: 2px;
	bottom: 2px;
	display: none;
	z-index: 90;
}

.diy-phone .phone-main .drag .btn-edit-del > div {
	width: 32px;
	height: 16px;
	line-height: 16px;
	display: inline-block;
	text-align: center;
	font-size: 10px;
	color: #fff;
	background: rgba(0, 0, 0, 0.4);
	margin-left: 2px;
	cursor: pointer;
	position: relative;
	z-index: 11;
}

.diy-phone .phone-main .drag.selected .btn-edit-del, .diy-phone .phone-main .drag:hover .btn-edit-del {
	display: block;
}

/***
组件
 */
.diy-search {
	background: #f1f1f2;
	padding: 10px 10px;
}
.diy-search .radius{ border-radius:5px; }
.diy-search .round{border-radius:20px}
.diy-carousel{
	display: block;
	margin: 0;
	padding: 0;
	height: auto;
	overflow: hidden;
}

.diy-carousel img {
	display: none;

	max-width: 100%;
	max-height: 100%;
	margin: 0 auto;
}

.diy-carousel img:first-child {
	display: block;
}

.diy-carousel .dots {
	height: 14px;
	padding: 0 10px;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
	opacity: 0.8;
	text-align: center;
}

.dots span {
	display: inline-block;
	background: #ff0000;
	height: 10px;
	width: 10px;
}


.diy-single-img{}

.diy-single-img img {
	max-width: 100%;
	max-height: 100%;
	margin: 0 auto;
}
.diy-richtext{}
.diy-blank{}
.diy-line .line {
	height: 0;
	width: 100%;
}
.diy-navbar li {
	margin: 10px 0;
}

.diy-navbar li .item-image {
	text-align: center;
	margin-bottom: 4px;
}

.diy-navbar li .item-image img {
	height: 44px;
	width: 44px;
}
[class*=layer-avg-]>li {
	display: block;
	height: auto;
	float: left;
}
.diy-navbar li .item-text {
	text-align: center;
}


.layer-avg-sm-1>li {
	width: 100%
}

.layer-avg-sm-1>li:nth-of-type(n) {
	clear: none
}

.layer-avg-sm-1>li:nth-of-type(1n+1) {
	clear: both
}

.layer-avg-sm-2>li {
	width: 50%
}

.layer-avg-sm-2>li:nth-of-type(n) {
	clear: none
}

.layer-avg-sm-2>li:nth-of-type(2n+1) {
	clear: both
}

.layer-avg-sm-3>li {
	width: 33.33333333%
}

.layer-avg-sm-3>li:nth-of-type(n) {
	clear: none
}

.layer-avg-sm-3>li:nth-of-type(3n+1) {
	clear: both
}

.layer-avg-sm-4>li {
	width: 25%
}

.layer-avg-sm-4>li:nth-of-type(n) {
	clear: none
}

.layer-avg-sm-4>li:nth-of-type(4n+1) {
	clear: both
}

.layer-avg-sm-5>li {
	width: 20%
}

.layer-avg-sm-5>li:nth-of-type(n) {
	clear: none
}

.layer-avg-sm-5>li:nth-of-type(5n+1) {
	clear: both
}

.layer-avg-sm-6>li {
	width: 16.66666667%
}

.layer-avg-sm-6>li:nth-of-type(n) {
	clear: none
}

.layer-avg-sm-6>li:nth-of-type(6n+1) {
	clear: both
}

.layer-avg-sm-7>li {
	width: 14.28571429%
}

.layer-avg-sm-7>li:nth-of-type(n) {
	clear: none
}

.layer-avg-sm-7>li:nth-of-type(7n+1) {
	clear: both
}

.layer-avg-sm-8>li {
	width: 12.5%
}

.layer-avg-sm-8>li:nth-of-type(n) {
	clear: none
}

.layer-avg-sm-8>li:nth-of-type(8n+1) {
	clear: both
}

.layer-avg-sm-9>li {
	width: 11.11111111%
}

.layer-avg-sm-9>li:nth-of-type(n) {
	clear: none
}

.layer-avg-sm-9>li:nth-of-type(9n+1) {
	clear: both
}

.layer-avg-sm-10>li {
	width: 10%
}

.layer-avg-sm-10>li:nth-of-type(n) {
	clear: none
}

.layer-avg-sm-10>li:nth-of-type(10n+1) {
	clear: both
}

.layer-avg-sm-11>li {
	width: 9.09090909%
}

.layer-avg-sm-11>li:nth-of-type(n) {
	clear: none
}

.layer-avg-sm-11>li:nth-of-type(11n+1) {
	clear: both
}

.layer-avg-sm-12>li {
	width: 8.33333333%
}

.layer-avg-sm-12>li:nth-of-type(n) {
	clear: none
}

.layer-avg-sm-12>li:nth-of-type(12n+1) {
	clear: both
}
.layer-scrollable-horizontal {
	width: 100%;
	overflow-y: hidden;
	overflow-x: auto;
	-ms-overflow-style: -ms-autohiding-scrollbar;
	-webkit-overflow-scrolling: touch;
	padding:0;
}

.layer-scrollable-vertical {

	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	resize: vertical
}


#phone-main::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

#phone-main::-webkit-scrollbar
{
	width: 6px;
	background-color: #F5F5F5;
}

#phone-main::-webkit-scrollbar-thumb
{
	background-color: #0ae;

	background-image: -webkit-gradient(linear, 0 0, 0 100%,
	color-stop(.5, rgba(255, 255, 255, .2)),
	color-stop(.5, transparent), to(transparent));
}


/****editor**/
.editorlist{padding-right: 20px}
.editorbox .layui-input, .editorbox .layui-textarea {
	display: block;

	padding-left: 10px;
}
.editorbox .menu-title{ margin-bottom: 20px}

.editorbox .slideb-box {
	padding: 15px 0 0 15px;
}




input[type=range] {
	outline: 0;
	-webkit-appearance: none;
	background: -webkit-linear-gradient(#61bd12,#61bd12) no-repeat,#ddd;
	height: 3px;
	border-radius: 5px
}



input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none;
	position: relative;
	height: 15px;
	width: 15px;
	border: 1px solid #d3d3d3;
	border-radius: 50%;
	background: #fff;
	cursor: pointer
}

.diy-notice {
	padding: 4px 10px;
	line-height: 26px;
}
.diy-notice  img {
	width: 16px;
	height: 16px;
}

.diy-editor-notice{}
.diy-editor-notice img{max-width: 100%;
	max-height: 100%;}



/****/

.editorbox .form-items {
	height: auto;
	padding: 5px 6px;
}

.editorbox .form-items .form-item {
	background: #f7fafc;
	margin-bottom: .6rem;
	position: relative;
	border-radius: 3px;

}

.editorbox .slideb-box {
	padding: 15px 0 0 15px;
}

.editorbox .form-items .form-item input {}

.editorbox .form-items .form-item .item-delete {
	position: absolute;
	top: -6px;
	right: -6px;
	height: 16px;
	width: 16px;
	line-height: 16px;
	background: rgba(153, 153, 153, 0.7);
	color: #fff;
	border-radius: 50%;
	text-align: center;
	cursor: pointer;
	font-size: 12px;
	-webkit-transition: background-color .3s ease-out, border-color .3s ease-out;
	transition: background-color .3s ease-out, border-color .3s ease-out;
}

.editorbox .form-items .form-item .item-delete:hover {
	background: #000;
}

.editorbox .form-items .form-item .item-inner {
	padding: 10px;
	/*background: #f7fafc;*/
}

.editorbox .form-items .form-item .item-inner .help-block {
	margin-top: 10px;
}

.editorbox .form-items.goods .form-item {
	float: left;
	margin: 10px;
	height: 70px;
	width: 70px;
}

.editorbox .form-items.goods .data-image {
	cursor: unset;
}
.editorbox .form-items .layui-upload-list{ margin: 0;}

/***/